<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  data() {
    return {
      user: {},
    };
  },
  mounted() {
    //let baseUrl = window.location.protocol + "//" + window.location.host;
    // 增加url
    // let baseUrl = 'http://demo.dsp.yingshangbao.net'
      let baseUrl = 'http://192.168.0.247:8080/api'
    window.localStorage.setItem("baseUrl", JSON.stringify(baseUrl));
  },
  methods: {},
};
</script>
<style lang="less">
html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f4f7fc;
}
// 公共样式
.card {
  position: relative;
  border-radius: 10px;
  padding: 4px 20px;
  box-sizing: border-box;
  background-color: #fff;
}
&::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 10px;
}
&::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 5px;
  // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: rgb(219, 219, 219);
}
&::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  background: #fff;
}
.table-del-icon {
  color: #666;
  font-size: 20px !important;
  user-select: none;
  cursor: pointer;
}
</style>
